//1111111111111111
var myChart = echarts.init(document.getElementById("idx1"))
var option = {
    series:{
        type:'pie',
        data:[1,2,3],
    },
};
myChart.setOption(option)
//2222222222222222
var myChart2 = echarts.init(document.getElementById("idx2"))
var option2 = {
    series:{
        type:'pie',
        data:[
            {value:1,name:"优"},
            {value:2,name:"良"},
            {value:3,name:"中"},
            {value:4,name:"差"},
        ],
    },
    title: {
        text: '成绩占比',
        subtext: '徐龙',
    },
    legend: {
        orient: 'vertical',
        left: 'left',
        top:'50px',
    },
};
myChart2.setOption(option2)
//33333333333333333
var myChart3 = echarts.init(document.getElementById("idx3"))
var option3 = {
    series:{
        name: '成绩占比',
        type:'pie',
        data:[
            {value:1,name:"优"},
            {value:2,name:"良"},
            {value:3,name:"中"},
            {value:4,name:"差"},
        ],
    },
    title: {
        text: '成绩占比',
        subtext: '徐龙',
    },
    legend: {
        orient: 'vertical',
        left: 'left',
        top:'50px',
    },
    tooltip: {
        trigger: 'item',
        formatter: '{b}:{c}({d}%)',
    },
};
myChart3.setOption(option3)
//4444444444444444444444444444
var myChart4 = echarts.init(document.getElementById("idx4"))
var option4 = {
    series:{
        name: '成绩占比',
        type:'pie',
        data:[
            {value:1,name:"优"},
            {value:2,name:"良"},
            {value:3,name:"中"},
            {value:4,name:"差"},
        ],
        label: {
            position: 'inner',
        },
    },
    title: {
        text: '成绩占比',
        subtext: '徐龙',
    },
    legend: {
        orient: 'vertical',
        left: 'left',
        top:'50px',
    },
    tooltip: {
        trigger: 'item',
        formatter: '{b}:{c}({d}%)',
    },
};
myChart4.setOption(option4)
//555555555555555555
var myChart5 = echarts.init(document.getElementById("idx5"))
var option5 = {
    series:{
        name: '成绩占比',
        type:'pie',
        data:[
            {value:1,name:"优"},
            {value:2,name:"良"},
            {value:3,name:"中"},
            {value:4,name:"差"},
        ],
        label: {
            position: 'inner',
        },
        radius: ['40%','70%'],
    },
    title: {
        text: '成绩占比',
        subtext: '徐龙',
    },
    legend: {
        orient: 'vertical',
        left: 'left',
        top:'50px',
    },
    tooltip: {
        trigger: 'item',
        formatter: '{b}:{c}({d}%)',
    },
};
myChart5.setOption(option5)
//66666666666666666666
var myChart6 = echarts.init(document.getElementById("idx6"))
var option6 = {
    series:{
        name: '成绩占比',
        type:'pie',
        data:[
            {value:5,name:"优"},
            {value:3,name:"良"},
            {value:3,name:"中"},
            {value:4,name:"差"},
        ],
        label: {
            position: 'inner',
        },
        roseType: 'radius',
    },
    title: {
        text: '成绩占比',
        subtext: '徐龙',
    },
    legend: {
        orient: 'vertical',
        left: 'left',
        top:'50px',
    },
    tooltip: {
        trigger: 'item',
        formatter: '{b}:{c}({d}%)',
    },
};
myChart6.setOption(option6)